package com.my.springframework.beans.factory;


import com.my.springframework.beans.BeansException;

/**
 * @author sk
 * @description 关于Bean作用域以及FactoryBean的实现和使用
 * @since 2021-11-23
 **/
public interface BeanFactory {
    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;
}
